package com.kkb.projectauth.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * @author 初心
 * @date 2021/4/14 14:10
 * 用户通过验证码登录的参数
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserLoginByCodeParam {
    @ApiModelProperty(value = "用户手机号",required = true)
    @NotEmpty
    String userPhone;
    @NotEmpty
    @ApiModelProperty(value = "验证码",required = false)
    String smsCode;
}
